package com.woniu.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName inpatient_application
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class InpatientApplication implements Serializable {
    /**
     * 住院申请id
     */
    private Integer id;

    /**
     * 开单医生id
     */
    private Integer iaWorkerid;

    /**
     * 病人id
     */
    private Integer iaCaseid;

    /**
     * 申请时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date iaDate;

    /**
     * 科室id
     */
    private Integer iaDepartmentid;

    /**
     * 状态 0是未缴费 1是代确定 2是完成
     */
    private String iaStatus;
    

    private static final long serialVersionUID = 1L;
}